//
//  GYAllPropertyCell.m
//  GoodLuck
//
//  Created by apple on 2018/3/5.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYAllPropertyCell.h"

static NSString *allPropertCellIdentifier = @"allPropertCellIdentifier";

@interface GYAllPropertyCell ()

@property (weak, nonatomic) IBOutlet UILabel *promptLable;

@end

@implementation GYAllPropertyCell


+ (instancetype)cellWithTableView:(UITableView *)tableView {
    GYAllPropertyCell *cell = [tableView dequeueReusableCellWithIdentifier:allPropertCellIdentifier];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle]loadNibNamed:@"GYAllPropertyCell" owner:nil options:nil] firstObject];
    }
    
    return cell;
}

- (CGFloat)cellHeight {
    return CGRectGetMaxY(self.promptLable.frame) + 15;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


@end
